package top.z.work.module.system.controller.role.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@Schema(description = "系统管理 - 角色数据 VO")
public class SystemRoleVO {

    @Schema(description = "数据ID", example = "1234")
    private Long identity;

    @Schema(description = "角色名称", example = "管理员")
    private String name;

    @Schema(description = "角色编码", example = "admin")
    private String code;

    @Schema(description = "数据排序", example = "1")
    private Integer sort;

    @Schema(description = "数据范围", example = "0")
    private Integer scope;

}
